//企业列表数据
export const columns = [
  {
    title: '企业名称',
    dataIndex: 'tenantName',
    width: 100,
    key: 'tenantName',
  },
  {
    title: '企业编码',
    dataIndex: 'tenantCode',
    width: 150,
    key: 'tenantCode',
  },
  {
    title: '手机号',
    dataIndex: 'phone',
    width: 100,
    key: 'phone',
  },
  {
    title: '购买应用',
    dataIndex: 'appName',
    width: 200,
    key: 'appName',
  },
  {
    title: '套餐类型',
    dataIndex: 'instanceType',
    width: 80,
    key: 'instanceType',
  },
  {
    title: '有效期',
    dataIndex: 'expireTime',
    width: 200,
    key: 'expireTime',
  },
  {
    title: '内置',
    dataIndex: 'isBuiltIn',
    width: 40,
    customRender: ({ record }: { record: any }) => {
      return record.isBuiltIn ? '是' : '否';
    },
  },
  {
    title: '加入时间',
    dataIndex: 'createdTime',
    width: 120,
    key: 'createdTime',
  },
  {
    title: '操作',
    dataIndex: 'operation',
    width: 40,
    key: 'operation',
  },
];
